// 导出所有服务
export { useAPIService, APIService } from './api'
export { useSSE, SSEManager, SSEConnectionState } from './sse'
export { useChatService, useChatSession, ChatService } from './chat'

// 导出类型
export type { SSEEventHandler } from './sse'
export type { ChatSession } from './chat'

// 服务初始化
export const initializeServices = () => {
  console.log('Initializing frontend services...')
  
  // 这里可以添加全局服务初始化逻辑
  // 比如设置全局错误处理、拦截器等
}

export default {
  initializeServices
}